/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.fyx.core;

import java.util.List;
import javax.ejb.Local;
import org.fyx.core.entity.FyxAtribute;

/**
 * Rozhrani pro praci se systemovymi funkcemi.
 * 
 * @author xljan
 */
@Local
public interface FyxCoreLocal {

    /**
     * Nastavi a ulozi atribut systemu Fyx. 
     * Pokud atribut neexistuje vytvori jej, jinak atribut prepise.
     * 
     * @param atribute atribut systemu Fyx
     */
    public void setAtribute(FyxAtribute atribute);

    /**
     * Vrati vsechny atributy systemu Fyx.
     * 
     * @return atributy systemu Fyx
     */
    public List<FyxAtribute> getAtributes();

    /**
     * Vrati atribut systemu Fyx.
     * 
     * @param key klic atributu
     * @return atribut systemu Fyx
     */
    public FyxAtribute getAtribute(String key);
}
